gsk: use glFrameBufferTexture2D and release texture
authorChristian Hergert <chergert@redhat.com>
Mon, 16 Nov 2020 17:26:07 +0000 (09:26 -0800)
committerChristian Hergert <chergert@redhat.com>
Mon, 16 Nov 2020 17:26:07 +0000 (09:26 -0800)
commit12a91644148a230aecab895f575e30f3e58576b0
treee7fe6a04885c88d3193c7b916820a58aa72b6670
parent5e9883453d345cc7e14ad6258310069ab46568ca
gsk: use glFrameBufferTexture2D and release texture

glFrameBufferTexture maps to all faces of a cube and that is not needed
here. Additionally, texture_id is not deleted after we use the additional
flipped texture, but should be.
gsk/gl/gskglrenderer.c